package xyz.labmem.base.sys.module.menu.entity.response

import io.swagger.annotations.ApiModelProperty
import javax.validation.constraints.NotBlank

class MenusResponse {
    @ApiModelProperty(value = "名称")
    var name : String?=null
    @ApiModelProperty(value = "编号")
    var id:String?=null
    @ApiModelProperty(value = "子菜单")
    var menusList : ArrayList<MenusRes>? = null
}

class MenuResponse {
    @NotBlank(message = "用户账号不能为空")
    @ApiModelProperty(value = "用户ID")
    var id : String?=null

    @ApiModelProperty(value = "菜单")
    var menusList : ArrayList<MenusResponse>? = null
}